MMS Sample:
----------

# The sample includes all required source files in a workspace built using M2M Studio. The applicable versions are R74/OS 6.30/WIPLIB 5.10.

# The MMS sample lets you send an MMS (with text, JPEG picture & AMR sound) to a handset or an email address. You can use Hyperterminal to type the AT commands & to attach the files from Windows.

# The MMS sample is organized this way:

	* at_cmd.c handles MMS AT commands. The AT commands are:

		AT+GPRS to configure GPRS settings.
		AT+MMSSERV to configure MMS server settings.
		AT+MMSMSG to prepare the MMS message.
		AT+MMSPIC to download MMS picture. This will prompt you send a .jpeg file; download the file when prompted with $$.
		AT+MMSSND to download MMS sound. This will prompt you send a .jpeg file; download the file when prompted with $$.
		AT+MMSSEND to send the MMS.

		Example commands (with configuration for 3 French operators) are given at the end.

	* mms.c handles radio part & MMS sending operations.

	* downloader.c, uploader.c, dwl_engine.c & dwl_storage.c handle the picture & sound file download from Windows. These are not part of this sample & are used only as service providers.
	
	* mms.h, downloader.h & dwl_init.h need to be included.

# You might need to customize the following:

	* You should configure MMS_FILE_SIZE_MAX; this defines the maximum file size allowed per file type. Please check with your carrier how big an MMS they support, also see what RAM you have on your WCPU.
	
	* You have to check the MMS settings for your carrier.
	
	* There is a limitation in the current WIP libraries which do not allow application to set "insert-address-token" in MMS ("insert-address-token" means the Operator can set the senders phone number field in the MMS). Some operators might answer with "message format corrupt" in that case. This will be addressed in the upcoming WIP releases & is not a problem with the sample.

# Below are examples of AT commands.

Orange, FRANCE

at+gprs="orange.acte","orange","orange"
at+mmsserv="192.168.10.200",8080,"http://mms.orange.fr"
at+mmsmsg="Subject of Orange MMS","","0102030405","you@email.com","Text of Orange MMS"
at+mmspic
at+mmssnd
at+mmssend

SFR, FRANCE

at+gprs="mmssfr","",""
at+mmsserv="10.151.0.1",8080,"http://mms1"
at+mmsmsg="Subject of SFR MMS","","0102030405","you@email.com"","Text of SFR MMS"
at+mmspic
at+mmssnd
at+mmssend

Bouygtel, FRANCE

at+gprs="mmsbouygtel.com","",""
at+mmsserv="62.201.137.17",8080,"http://mms.bouyguestelecom.fr/mms/wapenc"
at+mmsmsg="Subject of Bouygtel MMS","","0102030405","you@email.com","Text of Bouygtel MMS"
at+mmspic
at+mmssnd
at+mmssend

Disclaimer:
-----------
Please be informed that this is only a sample & handles only the nominal cases.
